Equal with Tolerance - Check whether two numbers are "more or less equal"

This action comapres two numbers to check whether they are "close enough" to be considered "essentially equal" (given a predefined tolerance).

Triggers [all required]

<X> and <Y> (non-repetitive numeric triggers [required]): The two compared numbers.

<Tolerance> (non-repetitive numeric trigger [required]): The comparison tolerance (<X> and <Y> are considered equal iff the difference between them does not exceed <Tolerance>).

Exits [none required]

The two exits represent two mutually exclusive possibilities:

<Yes> (non-repetitive numeric exit [not required]): The first number (the value of <X>) in case it is equal to <Y> or the difference between them does not exceed <Tolerance>.

<No> (non-repetitive numeric exit [not required]): The first number (the value of <X>) in case the difference between <X> and <Y> exceeds <Tolerance>.

Usage Examples

Test1 (need to complete)